package com.java.pojo;

import java.util.List;

public class Page<T> {
    private int totalPae;//总页数
    private int totalCount;//总条数
    private  List<T> list;//存储的Book对象
    private int curryPage;//当前页数
    private int rows;//每页显示条数

    @Override
    public String toString() {
        return "Page{" +
                "totalPae=" + totalPae +
                ", totalCount=" + totalCount +
                ", list=" + list +
                ", curryPage=" + curryPage +
                ", rows=" + rows +
                '}';
    }

    public int getTotalPae() {
        return totalPae;
    }

    public void setTotalPae(int totalPae) {
        this.totalPae = totalPae;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCurryPage() {
        return curryPage;
    }

    public void setCurryPage(int curryPage) {
        this.curryPage = curryPage;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }
}
